#ifndef FSUPPORT_H
#define FSUPPORT_H 1


struct ForwSupportNode;

struct ForwSupportNode
{
	int varia;
	int value;
	ForwSupportNode* pre;
	ForwSupportNode* next;
};

class ForwSupportList
{
	int listcount;
	//BackSupportNode** nodelists;
	ForwSupportNode* nlist;
	ForwSupportNode* nextEmpty;
	int count;
	void deleteNode(ForwSupportNode*);
public:
	//SupportList():nodelists(0),nextEmpty(0),count(0) {}
	ForwSupportList():nlist(0),nextEmpty(0),count(0) {}
	~ForwSupportList();
	void generateList(int,int,int);
	ForwSupportNode* createSupport(Domain* var, int val,int var2,int val2);
	void moveSupport(Domain* var,int val1,int val2,ForwSupportNode* node);
};

#endif
